package com.erp.erp_project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.erp.erp_project.model.Menu;
import com.erp.erp_project.model.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Set;

/**
 * @author yh
 */
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {
    Menu select(Menu menu);
    void add(Menu menu);
    void update(Menu menu);
    List<Menu> selectnames(Set parentnames);
}
